# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=py3-pygal
_pkgname=pygal
pkgver=2.4.0
pkgrel=4
pkgdesc="A dynamic SVG charting library written in Python"
options="!check" # Requires unpackaged dependencies
url="https://pygal.org"
arch="noarch"
license="LGPL-3.0-or-later"
depends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/p/pygal/pygal-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-pygal" # Backwards compatibility
provides="py-pygal=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="5cb95ca5c0cf74ae476953f3503154a305a0b5e42c69191b0b46f6e6cfea8c806713fe175329a69b393654d055997b2063cf3b641e91009a2b7bef219bb49ddb  pygal-2.4.0.tar.gz"
